import Mock from 'mockjs'
import homeApi from './mockServeData/homemock'
import userApi from './mockServeData/usermock'
import roleApi from './mockServeData/rolemock'
import menuApi from './mockServeData/menumock'

Mock.mock('/home/getData',homeApi.getStatisticalData)

// Mock.mock(/user\/addUser/,'post',userApi.addUser)
// Mock.mock(/user\/updateUser/,'post',userApi.updateUser)
// Mock.mock(/user\/getUserList/,'get',userApi.getUserList)
// Mock.mock(/user\/delUser/,'post',userApi.deleteUser)

// Mock.mock(/role\/addRole/,'post',roleApi.addRole)
// Mock.mock(/role\/updateRole/,'post',roleApi.updateRole)
// Mock.mock(/role\/getRoleList/,'get',roleApi.getRoleList)
// Mock.mock(/role\/delRole/,'post',roleApi.delRole)

// Mock.mock('/menu/getMenuTree',menuApi.getMenuTree)
// Mock.mock(/menu\/getMenu/,'post',menuApi.getMenu)
// Mock.mock(/menu\/getMenuList/,'get',menuApi.getMenuList)
// Mock.mock('/menu/addMenu',menuApi.addMenu)
// Mock.mock('/menu/updateMenu',menuApi.updateMenu)
// Mock.mock('/menu/delMenu',menuApi.delMenu)